--------------------------------------------------------------------------------------------------------------------------
      name:  <unnamed>
       log:  ...\1805 Roadmaps\Table A8 demo.log
  log type:  text
 opened on:   7 Jun 2018, 15:02:57

. 
. set seed X301a72cdc0cc277d6a1d73b5959503bc0004141c

. 
. 
. probit vote_leemar ///
>      vgd vgd_D1 ///
>      pty pty_D1 ///
>      psi psi_D1 ///
>      psp psp_D1 ///
>      d1 female inc_level pol_interest2 ret_level2

Iteration 0:   log likelihood = -224.82248  
Iteration 1:   log likelihood = -183.06619  
Iteration 2:   log likelihood =  -182.3756  
Iteration 3:   log likelihood = -182.37008  
Iteration 4:   log likelihood = -182.37008  

Probit regression                                 Number of obs   =        333
                                                  LR chi2(13)     =      84.90
                                                  Prob > chi2     =     0.0000
Log likelihood = -182.37008                       Pseudo R2       =     0.1888

-------------------------------------------------------------------------------
  vote_leemar |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
--------------+----------------------------------------------------------------
          vgd |   .1319733   .2855763     0.46   0.644     -.427746    .6916927
       vgd_D1 |   .2471389   .3425402     0.72   0.471    -.4242275    .9185054
          pty |  -.5449043   .3728821    -1.46   0.144     -1.27574    .1859311
       pty_D1 |   .7473498   .4240388     1.76   0.078     -.083751     1.57845
          psi |   -.011285   .2875499    -0.04   0.969    -.5748725    .5523026
       psi_D1 |   .3633586   .3487794     1.04   0.298    -.3202364    1.046954
          psp |  -.4009472   .3049184    -1.31   0.189    -.9985764    .1966819
       psp_D1 |   .1101892   .3427152     0.32   0.748    -.5615203    .7818987
           d1 |   .4044313    .250168     1.62   0.106     -.085889    .8947515
       female |  -.3511175   .1543905    -2.27   0.023    -.6537174   -.0485177
    inc_level |   .1110313   .0413459     2.69   0.007     .0299948    .1920679
pol_interest2 |   .0865314   .0992103     0.87   0.383    -.1079171    .2809799
   ret_level2 |  -.2640725    .104451    -2.53   0.011    -.4687926   -.0593523
        _cons |  -.3269212   .4760801    -0.69   0.492    -1.260021    .6061787
-------------------------------------------------------------------------------

. 
. tabstat d1 if e(sample), s(n mean sd min p25 p50 p75 max)

    variable |         N      mean        sd       min       p25       p50       p75       max
-------------+--------------------------------------------------------------------------------
          d1 |       333  .4704775  .7404071    -1.848      .017      .448     1.021     1.978
----------------------------------------------------------------------------------------------

. tabstat inc_level if e(sample), s(n mean sd min p25 p50 p75 max)

    variable |         N      mean        sd       min       p25       p50       p75       max
-------------+--------------------------------------------------------------------------------
   inc_level |       333  3.636637  1.903574         1         2         3         5         7
----------------------------------------------------------------------------------------------

. tabstat pol_interest2 if e(sample), s(n mean sd min p25 p50 p75 max)

    variable |         N      mean        sd       min       p25       p50       p75       max
-------------+--------------------------------------------------------------------------------
pol_intere~2 |       333  3.033033  .7927317         1         3         3         4         4
----------------------------------------------------------------------------------------------

. tabstat ret_level2 if e(sample), s(n mean sd min p25 p50 p75 max)

    variable |         N      mean        sd       min       p25       p50       p75       max
-------------+--------------------------------------------------------------------------------
  ret_level2 |       333  2.351351  .7401805         1         2         2         3         4
----------------------------------------------------------------------------------------------

. 
. 
. estsimp probit vote_leemar ///
>      vgd vgd_D1 ///
>      pty pty_D1 ///
>      psi psi_D1 ///
>      psp psp_D1 ///
>      d1 female pol_interest2 ret_level2 inc_level

Iteration 0:   log likelihood = -224.82248
Iteration 1:   log likelihood = -184.00169
Iteration 2:   log likelihood = -182.41822
Iteration 3:   log likelihood = -182.37022
Iteration 4:   log likelihood = -182.37008

Probit regression                                 Number of obs   =        333
                                                  LR chi2(13)     =      84.90
                                                  Prob > chi2     =     0.0000
Log likelihood = -182.37008                       Pseudo R2       =     0.1888

------------------------------------------------------------------------------
 vote_leemar |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         vgd |   .1319733   .2855763     0.46   0.644     -.427746    .6916927
      vgd_D1 |   .2471389   .3425402     0.72   0.471    -.4242275    .9185054
         pty |  -.5449044   .3728799    -1.46   0.144    -1.275736    .1859267
      pty_D1 |   .7473499   .4240364     1.76   0.078    -.0837461    1.578446
         psi |   -.011285   .2875499    -0.04   0.969    -.5748725    .5523026
      psi_D1 |   .3633586   .3487794     1.04   0.298    -.3202364    1.046954
         psp |  -.4009472   .3049184    -1.31   0.189    -.9985764    .1966819
      psp_D1 |   .1101892   .3427152     0.32   0.748    -.5615203    .7818987
          d1 |   .4044313    .250168     1.62   0.106     -.085889    .8947515
      female |  -.3511175   .1543905    -2.27   0.023    -.6537173   -.0485178
pol_intere~2 |   .0865314   .0992102     0.87   0.383    -.1079171    .2809798
  ret_level2 |  -.2640725   .1044509    -2.53   0.011    -.4687925   -.0593524
   inc_level |   .1110313   .0413459     2.69   0.007     .0299948    .1920679
       _cons |  -.3269212     .47608    -0.69   0.492    -1.260021    .6061784
------------------------------------------------------------------------------

Simulating main parameters.  Please wait....

Note: Clarify is expanding your dataset from 383 observations to 1000
observations in order to accommodate the simulations.  This will append
missing values to the bottom of your original dataset.

% of simulations completed: 7% 14% 21% 28% 35% 42% 50% 57% 64% 71% 78% 85% 92% 100% 

Number of simulations  : 1000
Names of new variables : b1 b2 b3 b4 b5 b6 b7 b8 b9 b10 b11 b12 b13 b14

. 
. 
. setx median

. simqi, pr listx

You have set the following values for the explanatory variables:

----------------------------------------
     Variable |    Value     Description
--------------+-------------------------
           d1 |      .448       median  
       female |         1       median  
    inc_level |         3       median  
pol_interest2 |         3       median  
          psi |         0       median  
       psi_D1 |         0       median  
          psp |         0       median  
       psp_D1 |         0       median  
          pty |         0       median  
       pty_D1 |         0       median  
   ret_level2 |         2       median  
          vgd |         0       median  
       vgd_D1 |         0       median  
----------------------------------------


Quantities of interest based on those explanatory values:

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
            Pr(vote_l~r=0) |   .6655836     .0730707     .5176196    .8029901
            Pr(vote_l~r=1) |   .3344164     .0730707     .1970099    .4823804

. 
. simqi, fd(prval(1) genpr(fd_con)) changex(d1 .017 1.021)

First Difference: d1 .017 1.021

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
         dPr(vote_l~r = 1) |   .1446633     .0913159    -.0341703     .321761

Simqi generated the following new variable(s): fd_con

. 
. simqi, fd(prval(1) genpr(fd_fem)) changex(female 0 1)

First Difference: female 0 1

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
         dPr(vote_l~r = 1) |  -.1304445     .0578236    -.2398616   -.0188608

Simqi generated the following new variable(s): fd_fem

. simqi, fd(prval(1) genpr(fd_inc)) changex(inc_level 2 5)

First Difference: inc_level 2 5

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
         dPr(vote_l~r = 1) |    .120944     .0449223     .0358355    .2126018

Simqi generated the following new variable(s): fd_inc

. simqi, fd(prval(1) genpr(fd_int)) changex(pol_interest2 3 4)

First Difference: pol_interest2 3 4

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
         dPr(vote_l~r = 1) |   .0331902     .0395037    -.0367056    .1154516

Simqi generated the following new variable(s): fd_int

. simqi, fd(prval(1) genpr(fd_ret)) changex(ret_level2 2 3)

First Difference: ret_level2 2 3

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
         dPr(vote_l~r = 1) |  -.0890687      .036516    -.1642663   -.0232916

Simqi generated the following new variable(s): fd_ret

. 
. 
. setx d1 0

. simqi, pr listx

You have set the following values for the explanatory variables:

----------------------------------------
     Variable |    Value     Description
--------------+-------------------------
           d1 |         0         0     
       female |         1       median  
    inc_level |         3       median  
pol_interest2 |         3       median  
          psi |         0       median  
       psi_D1 |         0       median  
          psp |         0       median  
       psp_D1 |         0       median  
          pty |         0       median  
       pty_D1 |         0       median  
   ret_level2 |         2       median  
          vgd |         0       median  
       vgd_D1 |         0       median  
----------------------------------------


Quantities of interest based on those explanatory values:

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
            Pr(vote_l~r=0) |    .725819     .0797704      .552016    .8573956
            Pr(vote_l~r=1) |    .274181     .0797704     .1426044     .447984

. 
. simqi, fd(prval(1) genpr(tr_vgd_con)) changex(vgd 0 1)

First Difference: vgd 0 1

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
         dPr(vote_l~r = 1) |   .0448703     .0986862    -.1445377    .2305092

Simqi generated the following new variable(s): tr_vgd_con

. simqi, fd(prval(1) genpr(tr_pty_con)) changex(pty 0 1)

First Difference: pty 0 1

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
         dPr(vote_l~r = 1) |  -.1380268     .0973954    -.3327847     .051093

Simqi generated the following new variable(s): tr_pty_con

. simqi, fd(prval(1) genpr(tr_psi_con)) changex(psi 0 1)

First Difference: psi 0 1

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
         dPr(vote_l~r = 1) |   .0005494     .0940698    -.1803153    .1782515

Simqi generated the following new variable(s): tr_psi_con

. simqi, fd(prval(1) genpr(tr_psp_con)) changex(psp 0 1)

First Difference: psp 0 1

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
         dPr(vote_l~r = 1) |  -.1103695      .091257    -.2905231    .0554422

Simqi generated the following new variable(s): tr_psp_con

. 
. 
. setx median

. setx vgd 1

. setx vgd_D1 .448

. simqi, pr listx

You have set the following values for the explanatory variables:

----------------------------------------
     Variable |    Value     Description
--------------+-------------------------
           d1 |      .448       median  
       female |         1       median  
    inc_level |         3       median  
pol_interest2 |         3       median  
          psi |         0       median  
       psi_D1 |         0       median  
          psp |         0       median  
       psp_D1 |         0       median  
          pty |         0       median  
       pty_D1 |         0       median  
   ret_level2 |         2       median  
          vgd |         1         1     
       vgd_D1 |      .448        .448   
----------------------------------------


Quantities of interest based on those explanatory values:

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
            Pr(vote_l~r=0) |   .5725774     .0711522     .4311062    .7045046
            Pr(vote_l~r=1) |   .4274226     .0711522     .2954954    .5688938

. 
. simqi, fd(prval(1) genpr(fd_vgd)) changex(d1 .017 1.021 vgd_D1 .017 1.021)

First Difference: d1 .017 1.021 vgd_D1 .017 1.021

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
         dPr(vote_l~r = 1) |   .2506313      .088831     .0686937    .4186063

Simqi generated the following new variable(s): fd_vgd

. 
. 
. setx d1 0

. setx vgd_D1 0

. simqi, pr listx

You have set the following values for the explanatory variables:

----------------------------------------
     Variable |    Value     Description
--------------+-------------------------
           d1 |         0         0     
       female |         1       median  
    inc_level |         3       median  
pol_interest2 |         3       median  
          psi |         0       median  
       psi_D1 |         0       median  
          psp |         0       median  
       psp_D1 |         0       median  
          pty |         0       median  
       pty_D1 |         0       median  
   ret_level2 |         2       median  
          vgd |         1         1     
       vgd_D1 |         0         0     
----------------------------------------


Quantities of interest based on those explanatory values:

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
            Pr(vote_l~r=0) |   .6809487       .07254     .5276951    .8088491
            Pr(vote_l~r=1) |   .3190513       .07254     .1911509    .4723049

. 
. simqi, fd(prval(1) genpr(tr_pty_vgd)) changex(vgd 1 0 pty 0 1)

First Difference: vgd 1 0 pty 0 1

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
         dPr(vote_l~r = 1) |  -.1828971     .0948334     -.359455    .0126392

Simqi generated the following new variable(s): tr_pty_vgd

. simqi, fd(prval(1) genpr(tr_psi_vgd)) changex(vgd 1 0 psi 0 1)

First Difference: vgd 1 0 psi 0 1

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
         dPr(vote_l~r = 1) |  -.0443209     .0916677    -.2132633    .1365397

Simqi generated the following new variable(s): tr_psi_vgd

. simqi, fd(prval(1) genpr(tr_psp_vgd)) changex(vgd 1 0 psp 0 1)

First Difference: vgd 1 0 psp 0 1

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
         dPr(vote_l~r = 1) |  -.1552398     .0866354    -.3162103     .018431

Simqi generated the following new variable(s): tr_psp_vgd

. 
. 
. setx median

. setx pty 1

. setx pty_D1 .448

. simqi, pr listx

You have set the following values for the explanatory variables:

----------------------------------------
     Variable |    Value     Description
--------------+-------------------------
           d1 |      .448       median  
       female |         1       median  
    inc_level |         3       median  
pol_interest2 |         3       median  
          psi |         0       median  
       psi_D1 |         0       median  
          psp |         0       median  
       psp_D1 |         0       median  
          pty |         1         1     
       pty_D1 |      .448        .448   
   ret_level2 |         2       median  
          vgd |         0       median  
       vgd_D1 |         0       median  
----------------------------------------


Quantities of interest based on those explanatory values:

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
            Pr(vote_l~r=0) |   .7323625     .0727269     .5741654    .8600819
            Pr(vote_l~r=1) |   .2676375     .0727269     .1399181    .4258346

. 
. simqi, fd(prval(1) genpr(fd_pty)) changex(d1 .017 1.021 pty_D1 .017 1.021)

First Difference: d1 .017 1.021 pty_D1 .017 1.021

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
         dPr(vote_l~r = 1) |   .3690721     .1010681     .1634781    .5592645

Simqi generated the following new variable(s): fd_pty

. 
. 
. setx d1 0

. setx pty_D1 0

. simqi, pr listx

You have set the following values for the explanatory variables:

----------------------------------------
     Variable |    Value     Description
--------------+-------------------------
           d1 |         0         0     
       female |         1       median  
    inc_level |         3       median  
pol_interest2 |         3       median  
          psi |         0       median  
       psi_D1 |         0       median  
          psp |         0       median  
       psp_D1 |         0       median  
          pty |         1         1     
       pty_D1 |         0         0     
   ret_level2 |         2       median  
          vgd |         0       median  
       vgd_D1 |         0       median  
----------------------------------------


Quantities of interest based on those explanatory values:

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
            Pr(vote_l~r=0) |   .8638458     .0676276     .7181925    .9600609
            Pr(vote_l~r=1) |   .1361542     .0676276     .0399391    .2818075

. 
. 
. setx median

. setx psi 1

. setx psi_D1 .448

. simqi, pr listx

You have set the following values for the explanatory variables:

----------------------------------------
     Variable |    Value     Description
--------------+-------------------------
           d1 |      .448       median  
       female |         1       median  
    inc_level |         3       median  
pol_interest2 |         3       median  
          psi |         1         1     
       psi_D1 |      .448        .448   
          psp |         0       median  
       psp_D1 |         0       median  
          pty |         0       median  
       pty_D1 |         0       median  
   ret_level2 |         2       median  
          vgd |         0       median  
       vgd_D1 |         0       median  
----------------------------------------


Quantities of interest based on those explanatory values:

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
            Pr(vote_l~r=0) |   .6038444     .0740022     .4589625    .7452968
            Pr(vote_l~r=1) |   .3961556     .0740022     .2547032    .5410375

. 
. simqi, fd(prval(1) genpr(fd_psi)) changex(d1 .017 1.021 psi_D1 .017 1.021)

First Difference: d1 .017 1.021 psi_D1 .017 1.021

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
         dPr(vote_l~r = 1) |   .2883671     .0850129     .1198052    .4470704

Simqi generated the following new variable(s): fd_psi

. 
. 
. setx d1 0

. setx psi_D1 0

. simqi, pr listx

You have set the following values for the explanatory variables:

----------------------------------------
     Variable |    Value     Description
--------------+-------------------------
           d1 |         0         0     
       female |         1       median  
    inc_level |         3       median  
pol_interest2 |         3       median  
          psi |         1         1     
       psi_D1 |         0         0     
          psp |         0       median  
       psp_D1 |         0       median  
          pty |         0       median  
       pty_D1 |         0       median  
   ret_level2 |         2       median  
          vgd |         0       median  
       vgd_D1 |         0       median  
----------------------------------------


Quantities of interest based on those explanatory values:

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
            Pr(vote_l~r=0) |   .7252697     .0746674      .566549    .8607312
            Pr(vote_l~r=1) |   .2747303     .0746674     .1392688     .433451

. 
. 
. setx median

. setx psp 1

. setx psp_D1 .448

. simqi, pr listx

You have set the following values for the explanatory variables:

----------------------------------------
     Variable |    Value     Description
--------------+-------------------------
           d1 |      .448       median  
       female |         1       median  
    inc_level |         3       median  
pol_interest2 |         3       median  
          psi |         0       median  
       psi_D1 |         0       median  
          psp |         1         1     
       psp_D1 |      .448        .448   
          pty |         0       median  
       pty_D1 |         0       median  
   ret_level2 |         2       median  
          vgd |         0       median  
       vgd_D1 |         0       median  
----------------------------------------


Quantities of interest based on those explanatory values:

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
            Pr(vote_l~r=0) |   .7767539     .0590478     .6529562    .8820865
            Pr(vote_l~r=1) |   .2232461     .0590478     .1179135    .3470438

. 
. simqi, fd(prval(1) genpr(fd_psp)) changex(d1 .017 1.021 psp_D1 .017 1.021)

First Difference: d1 .017 1.021 psp_D1 .017 1.021

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
         dPr(vote_l~r = 1) |   .1535889     .0717193     .0205798    .3002676

Simqi generated the following new variable(s): fd_psp

. 
. 
. setx d1 0

. setx psp_D1 0

. simqi, pr listx

You have set the following values for the explanatory variables:

----------------------------------------
     Variable |    Value     Description
--------------+-------------------------
           d1 |         0         0     
       female |         1       median  
    inc_level |         3       median  
pol_interest2 |         3       median  
          psi |         0       median  
       psi_D1 |         0       median  
          psp |         1         1     
       psp_D1 |         0         0     
          pty |         0       median  
       pty_D1 |         0       median  
   ret_level2 |         2       median  
          vgd |         0       median  
       vgd_D1 |         0       median  
----------------------------------------


Quantities of interest based on those explanatory values:

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
            Pr(vote_l~r=0) |   .8361885     .0597921     .7032141     .932328
            Pr(vote_l~r=1) |   .1638115     .0597921      .067672    .2967859

. 
. 
. * Difference in baseline probabilities
. 
. tabstat tr_vgd_con, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
  tr_vgd_con |  .0448703  .0986862 -.3181624 -.1138498 -.0819672  .0454643  .1723847  .2076359   .392481
--------------------------------------------------------------------------------------------------------

. tabstat tr_pty_con, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
  tr_pty_con | -.1380268  .0973954 -.4397052 -.2940827 -.2655652 -.1386881  -.014962  .0238034  .1970249
--------------------------------------------------------------------------------------------------------

. tabstat tr_psi_con, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
  tr_psi_con |  .0005494  .0940698 -.2660543 -.1486361  -.124209 -.0005201  .1196473  .1533995  .2567691
--------------------------------------------------------------------------------------------------------

. tabstat tr_psp_con, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
  tr_psp_con | -.1103695   .091257 -.3979845 -.2616131 -.2318309 -.1071774  .0052215  .0302329  .2251988
--------------------------------------------------------------------------------------------------------

. 
. 
. tabstat tr_pty_vgd, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
  tr_pty_vgd | -.1828971  .0948334 -.4863853 -.3290628 -.3029087 -.1865183 -.0617708 -.0265752  .2251029
--------------------------------------------------------------------------------------------------------

. tabstat tr_psi_vgd, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
  tr_psi_vgd | -.0443209  .0916677 -.3454388 -.1929289 -.1611712 -.0432059  .0733529  .0976937  .3324258
--------------------------------------------------------------------------------------------------------

. tabstat tr_psp_vgd, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
  tr_psp_vgd | -.1552398  .0866354  -.435331 -.2910283 -.2657989 -.1538102 -.0443978 -.0169247  .1591376
--------------------------------------------------------------------------------------------------------

. 
. 
. * Calculate difference in first differences
. 
. gen dif_vgd_con = fd_vgd - fd_con

. gen dif_pty_con = fd_pty - fd_con

. gen dif_psi_con = fd_psi - fd_con

. gen dif_psp_con = fd_psp - fd_con

. 
. tabstat dif_vgd_con, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
 dif_vgd_con |   .105968  .1251377  -.280909 -.1007285 -.0542062  .1040265  .2664899  .3071489  .5210045
--------------------------------------------------------------------------------------------------------

. tabstat dif_pty_con, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
 dif_pty_con |  .2244089  .1335209 -.2919809  .0025305  .0496323  .2272043  .3937551  .4370124  .6361548
--------------------------------------------------------------------------------------------------------

. tabstat dif_psi_con, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
 dif_psi_con |  .1437039  .1251642 -.2624565 -.0632981  -.020555  .1430524  .3040283  .3425409  .4905284
--------------------------------------------------------------------------------------------------------

. tabstat dif_psp_con, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
 dif_psp_con |  .0089256  .1141102 -.3404388 -.1762841 -.1373413  .0082785  .1606808  .1981744   .387206
--------------------------------------------------------------------------------------------------------

. 
. 
. gen dif_pty_vgd = fd_pty - fd_vgd

. gen dif_psi_vgd = fd_psi - fd_vgd

. gen dif_psp_vgd = fd_psp - fd_vgd

. 
. tabstat dif_pty_vgd, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
 dif_pty_vgd |  .1184409  .1328212  -.299978  -.097527 -.0524961  .1137909  .2918172  .3370838   .513718
--------------------------------------------------------------------------------------------------------

. tabstat dif_psi_vgd, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
 dif_psi_vgd |  .0377359  .1206936 -.3816517 -.1586069  -.115568  .0367786  .1975919   .242811  .4057738
--------------------------------------------------------------------------------------------------------

. tabstat dif_psp_vgd, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
 dif_psp_vgd | -.0970424  .1132748 -.5127341  -.279954 -.2349919 -.1010145  .0460076  .0910609  .2470675
--------------------------------------------------------------------------------------------------------

. 
. 
. drop b1-b14

. drop fd_con-dif_psp_vgd

. 
. log close
      name:  <unnamed>
       log:  ...\1805 Roadmaps\Table A8 demo.log
  log type:  text
 closed on:   7 Jun 2018, 15:02:58
--------------------------------------------------------------------------------------------------------------------------
